package org.bright.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 采购结算表
 * </p>
 *
 * @author bright
 * @since 2024-10-21
 */
@Data
public class PurchaseSettlement implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 采购结算ID
     */
    private Integer psId;

    /**
     * 采购订单ID
     */
    private String poId;

    /**
     * 结算日期
     */
    private Date settlementDate;

    /**
     * 总金额
     */
    private Double totalAmount;

    /**
     * 结算状态 0：未结算   1：已结束
     */
    private int settlementStatus;

    /**
     * 创建时间
     */
    private LocalDateTime createdAt;

    /**
     * 修改时间
     */
    private LocalDateTime updatedAt;

    /**
     * 删除时间
     */
    private LocalDateTime deletedAt;

    /**
     * 创建人
     */
    private String createdBy;

    /**
     * 最后修改人
     */
    private String updatedBy;

    /**
     * 版本
     */
    private Integer version;
    private Date Shipment;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Integer supplierId;
}
